package com.jic.interaction.JDVOP.model.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Auther YGH
 * @DATE 2020/11/16/19:58
 */
@ApiModel(description = "查询发票明细")
@Data
public class InvoiceItemResponse {

    @ApiModelProperty(notes = "发票号码")
    private String invoiceId;
    @ApiModelProperty(notes = "发票代码")
    private String invoiceCode;
    @ApiModelProperty(notes = "发票状态【1正常2作废3冲红】")
    private Integer state;
    @ApiModelProperty(notes = "冲红的原始发票号")
    private String originalInvoiceId;
    @ApiModelProperty(notes = "冲红的原始发票代码")
    private String originalInvoiceCode;
    @ApiModelProperty(notes = "发票日期")
    private Date invoiceDate;
    @ApiModelProperty(notes = "发票金额（裸价）")
    private BigDecimal invoiceNakedAmount;
    @ApiModelProperty(notes = "发票税率")
    private BigDecimal invoiceTaxRate;
    @ApiModelProperty(notes = "发票税额")
    private BigDecimal invoiceTaxAmount;
    @ApiModelProperty(notes = "价税合计")
    private BigDecimal invoiceAmount;
    @ApiModelProperty(notes = "发票类型1：普票 2：专票 3：电子票")
    private Integer invoiceType;
    @ApiModelProperty(notes = "发票抬头")
    private String title;
    @ApiModelProperty(notes = "纳税人识别号（专票有值）")
    private String taxpayer;
    @ApiModelProperty(notes = "地址（专票有值）")
    private String address;
    @ApiModelProperty(notes = "电话（专票有值）")
    private String tel;
    @ApiModelProperty(notes = "开户行（专票有值）")
    private String bank;
    @ApiModelProperty(notes = "账号（专票有值）")
    private String account;
    @ApiModelProperty(notes = "备注")
    private String remark;
    @ApiModelProperty(notes = "商品明细")
    private List<InvoiceSkuDetailResponse> skuDetails;
}
